package org.lora.biz.workflow.engines.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.lora.biz.workflow.annotation.RunTimeResource;
import org.lora.biz.workflow.engines.entity.ProcessDefinition;
import org.lora.biz.workflow.engines.entity.ProcessDefinitionExample;

@RunTimeResource
public interface ProcessDefinitionMapper {
	int countByExample(ProcessDefinitionExample example);

	int deleteByExample(ProcessDefinitionExample example);

	int insert(ProcessDefinition record);

	int insertSelective(ProcessDefinition record);

	List<ProcessDefinition> selectByExample(ProcessDefinitionExample example);

	int updateByExampleSelective(@Param("record") ProcessDefinition record, @Param("example") ProcessDefinitionExample example);

	int updateByExample(@Param("record") ProcessDefinition record, @Param("example") ProcessDefinitionExample example);
}